<?php
define('PATH', dirname(__FILE__).'/../');

require PATH.'lib/inc.prepend.php';


try {
    $FrontController = Page::getPage();
    require PRIVATE_PATH.$FrontController->controller;
    require PUBLIC_PATH .$FrontController->header;
    require PUBLIC_PATH .$FrontController->view;
    require PUBLIC_PATH .$FrontController->footer;
} catch (Exception $e) {
}


?>